<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

    <form:form commandName="formHeads" cssClass="form-horizontal" role="form" onsubmit="return false;">

        <div class="form-group" style="padding-left: 50px;">
            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="checkAll" name="" value="">
                <label for="checkAll" class="no-padding">全选</label>
            </div>
        </div>

        <div class="form-group" style="padding-left: 50px;">
            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="projectName" name="exportHead" value="projectName">
                <label for="projectName" class="no-padding">项目名称</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="nodeId" name="exportHead" value="nodeId">
                <label for="nodeId" class="no-padding">节点Id</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="nodeNames" name="exportHead" value="nodeNames">
                <label for="nodeNames" class="no-padding">节点名称</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="baseDetail" name="exportHead" value="baseDetail">
                <label for="baseDetail" class="no-padding">基本情况</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="planTime" name="exportHead" value="planTime">
                <label for="planTime" class="no-padding">计划用时</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="factTime" name="exportHead" value="factTime">
                <label for="factTime" class="no-padding">实际用时</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="planBeginTime" name="exportHead" value="planBeginTime">
                <label for="planBeginTime" class="no-padding">计划开始时间</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="planEndTime" name="exportHead" value="planEndTime">
                <label for="planEndTime" class="no-padding">计划结束时间</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="planBeginDate" name="exportHead" value="planBeginDate">
                <label for="planBeginDate" class="no-padding">实际开始时间</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="factFinishDate" name="exportHead" value="factFinishDate">
                <label for="factFinishDate" class="no-padding">实际结束时间</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="avTime" name="exportHead" value="avTime">
                <label for="avTime" class="no-padding">节点平均用时</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="resUsers" name="exportHead" value="resUser">
                <label for="resUsers" class="no-padding">负责人</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="resUserPhone" name="exportHead" value="resUserPhone">
                <label for="resUserPhone" class="no-padding">负责人电话</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="operatorUser" name="exportHead" value="operatorUser">
                <label for="operatorUser" class="no-padding">经办人</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="operatorPhone" name="exportHead" value="operatorPhone">
                <label for="operatorPhone" class="no-padding">经办人电话</label>
            </div>


            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="resDepts" name="exportHead" value="resDept">
                <label for="resDepts" class="no-padding">责任单位</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="earlyDays" name="exportHead" value="earlyDays">
                <label for="earlyDays" class="no-padding">逾期天数</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="messageNum" name="exportHead" value="messageNum">
                <label for="messageNum" class="no-padding">发送短信次数</label>
            </div>

            <div class="checkbox col-sm-2 ">
                <input type="checkbox" id="remark" name="exportHead" value="remark">
                <label for="remark" class="no-padding">备注</label>
            </div>

        </div>
    </form:form>


<script>
    $(function () {
        $("#checkAll").click(function () {
            $("input[name='exportHead']").prop("checked", $(this).prop("checked"));
        });

    })
</script>



